import { http } from "./fetch";

const logApi = {
  get(data) {
    return http.get("/api/log/get", data);
  },
  getError(data) {
    return http.get("/api/log/getError", data);
  },
  add(data) {
    return http.post("/api/log/add", data);
  },
};

export { logApi };
